@model Adams.Admin.DataTransfer.Classifieds.Pending.PageLoad
@{
    Layout = "~/Views/Classifieds/_Layout.cshtml";
}
@section Head{
    <link rel="stylesheet" type="text/css" href="/Content/Classifieds/pending.css" />
}
<div class="content-box">
    <div class="content-box-header">
        <h3>
            Classifieds</h3>
    </div>
    <div class="content-box-content">
        @foreach (var posting in Model.Postings)
        {
            var did = "p_" + posting.ID.ToString();
            <div id="@did" class="posting">
                <div class="align-right">
                    <input class="button approve" type="button" value="Approve" pid="@posting.ID" />
                    <input class="bluebutton reject" type="button" value="Reject" pid="@posting.ID" />
                    <input class="redbutton delete" type="button" value="Delete" pid="@posting.ID" />
                </div>
                Type:@posting.Category.Type.Name
                <br />
                Category: @posting.Category.Name
                <br />
                Member: @posting.Member.FirstName @posting.Member.LastName (@posting.Member.Email)
                <br />
                Title: @posting.Title
                <br />
                Price: @posting.Price
                <br />
                Location: @posting.Location
                <br />
                ReplyTo: @posting.ReplyTo
                <br />
                CreatedOn: @posting.CreatedOn
                <br />
                ExpiresOn: @posting.ExpiresOn
                <br />
                Description:
                <br />@posting.Description
            </div>
        }
    </div>
</div>
@section Scripts {
    <script type="text/javascript" src="@Url.Content("/Scripts/Classifieds/pending.js")"></script>
}
